home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text1065.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  2.2 KB  |  61 lines

  1. > To get some more water on the wheel, I tested memspeed yesterday on my Afterburner040.
  2. ...
  3. > With memspeed I get 4.9 MB/s to ST-RAM read and slightly less write.
  4.  
  5. In what graphics mode?
  6.  
  7. > To TT-RAM I get 35.9 MB/s read and 16 MB/s write.
  8.  
  9. That sounds rather low, but see below.
  10. What did you get on cache accesses?
  11.  
  12. Only 9 million 32 bit read accesses and 4 million write accesses per second.
  13. Even a standard Falcon comes close to that for writes (even if they're only
  14. 16 bit in that case). I guess the '040 might have to read the entire cache
  15. line first when writing, though, unless you use move16.
  16.  
  17. Shouldn't burst mode do better than that?
  18. (Assuming the AB040 does burst, which seems likely.)
  19.  
  20. According to Motorola's 680x0 optimization document:
  21. Saving/restoring registers:
  22.  
  23.    A:   movem.l   d4-d7,-(a7)   B:  move.l   d7,-(a7)
  24.                                     move.l   d6,-(a7)
  25.                                     move.l   d5,-(a7)
  26.                                     move.l   d4,-(a7)
  27.  
  28.    68000/20/60/xx:   A
  29.    68040:            B (if time critical)
  30.  
  31. Which suggests that using movem for memory speed test isn't a good idea
  32. on that processor. I've no idea how large the difference is, though.
  33.  
  34. Trying to figure out the instruction timing tables is not simple, but to me
  35. it looks like succeding MOVEMs with four registers will take seven cycles
  36. each, while four simple MOVEs will only take four cycles.
  37. That is, it _might_ be possible to almost double the figures.
  38.  
  39. Doug has probably already figured out the correct numbers. ;-)
  40.  
  41. > One interresting thing is that when I run GEM-Bench and test the AB040 against
  42. > the Medusa040 the AB040 is actually more than twice as fast at RAM-Access and
  43.  
  44. Strange.
  45.  
  46. > also faster than MagiC Mac running on a 040 MAC. Not a big difference though.
  47.  
  48. What kind of Mac was that?
  49.  
  50. > BTW. My program is called memspeed.tos, not ttp. :-)
  51.  
  52. Well, that might be true for mine as well.
  53. What version? I have 1.0.
  54.  
  55. -- 
  56.   Chalmers University   | Why are these |  e-mail:   rand@cd.chalmers.se
  57.      of Technology      |  .signatures  |            johan@rand.thn.htu.se
  58.                         | so hard to do |  WWW/ftp:  rand.thn.htu.se
  59.    Gothenburg, Sweden   |     well?     |            (MGIFv5, QLem, BAD MOOD)
  60.  
  61.